package com.ms.p2p.service;

import com.alibaba.dubbo.config.annotation.Reference;

import com.ms.p2p.entity.loan.LoanCategory;
import com.ms.p2p.provider.LoanCategoryProvider;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by daimajia on 2015/4/22.
 */
@Service
public class LoanCategoryService {
    @Reference
    LoanCategoryProvider loanCategoryProvider;
    public List<LoanCategory> getLoanCategoryList(){
        return loanCategoryProvider.findAll();
    }


}
